package com.sunday.pinxinghui.entity;

import java.util.List;

/**
 * Created by 刘涛 on 2017/8/14.
 */

public class IndexCategory {

    /**
     * id : 1
     * name : 水果
     * logo : http://ol-quan2017.oss-cn-shanghai.aliyuncs.com/imgs/77e8c65df9d1f7144ce4c278aa7e917a1c5bac7a
     * parentId : 0
     * expanded : true
     * children : null
     */

    private int id;
    private String name;
    private String logo;
    private int parentId;
    private boolean expanded;
    private List<IndexCategory> children;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public boolean isExpanded() {
        return expanded;
    }

    public void setExpanded(boolean expanded) {
        this.expanded = expanded;
    }


    public List<IndexCategory> getChildren() {
        return children;
    }

    public void setChildren(List<IndexCategory> children) {
        this.children = children;
    }
}
